body {
	text-align: center;
	font-weight: bold;
	background: #1a1c2b;
	color: #f4f4f4
}
	
#plantilla, #pipes {
	border-spacing: 0;
	border-collapse: separate;
	margin: 0 auto;
}

#content {
	max-width: 322px;
	margin: auto;
	text-align: center;
	padding: auto;
}

#controls,
#size_entropy {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin: .5rem 0;
}

/* Pipes */
#pipes,
#plantilla {
	display: grid;
	justify-content: center;
}

#pipes {
	grid-template-columns: repeat(8, 32px);
	grid-template-rows: repeat(2, 32px);
}

.pipe,
*[class*='pipe-']::after,
.pipe.selected::before {
	background-image: url('img/tiles.png');
	background-repeat: no-repeat;
}

.pipe,
*[class*='pipe-'] {
	position: relative;
	background-position: -480px 0px;
}

*[class*='pipe-']::after,
*[class*='pipe-']::before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	content: ' ';
}

.pipe-0::after {
	background: transparent;
}

.pipe-1::after {
	background-position: 0px 0px;
}

.pipe-2::after {
	background-position: -32px 0px;
}

.pipe-3::after {
	background-position: -64px 0px;
}

.pipe-4::after {
	background-position: -96px 0px;
}

.pipe-5::after {
	background-position: -128px 0px;
}

.pipe-6::after {
	background-position: -160px 0px;
}

.pipe-7::after {
	background-position: -192px 0px;
}

.pipe-8::after {
	background-position: -224px 0px;
}

.pipe-9::after {
	background-position: -256px 0px;
}

.pipe-A::after {
	background-position: -288px 0px;
}

.pipe-B::after {
	background-position: -320px 0px;
}

.pipe-C::after {
	background-position: -352px 0px;
}

.pipe-D::after {
	background-position: -384px 0px;
}

.pipe-E::after {
	background-position: -416px 0px;
}

.pipe-F::after {
	background-position: -448px 0px;
}

#pipes > .selected::before {
	z-index: 3;
	background-position: -512px 0;
}

#result {
	margin: .5rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
	justify-content: center;
}

#result > #seed {
	background-color: #95b0c3;
	color: #f4f4f4;
	font-size: 1rem;
	border: 1px solid #697385;
	border-radius: 3px;
	padding: 3px;
}

button {
	width: 32px;
	height: 32px;
	border: 1px solid #697385;
	background-color: #95b0c3;
	color: #f4f4f4;
	cursor: pointer;
	border-radius: 3px;
	font-size: 1rem;
}

#logo {
	margin: 1rem;
}

a {
	color: #95b0c3;
	text-decoration: none;
	transition: color 300ms;
}

a:hover {
	color: #f4f4f4;
}